]> dgit.raspbian.org Git - gnome-shell.git/commit
quickSettings: Consider menu width when calculating its preferred height
authorSebastian Keller <skeller@gnome.org>
Tue, 17 Mar 2026 03:21:09 +0000 (04:21 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 24 Mar 2026 20:59:43 +0000 (20:59 +0000)
commit8dfb9dbc34dc88b6792026ecce85900d60746304
tree25a0a0a36277de78fd2c3993e1cb2c5317e695e3
parentcec702b0cc6dce9b26840add8e8d03dbdc7a8b24
quickSettings: Consider menu width when calculating its preferred height

Previously the width of a menu was ignored when calculating its
preferred height. This was leading to line wrapped text never being
wrapped in these calculations and thus the menu being assumed to be
shorter than it actually ends up when allocated with line wrapping.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6952
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4136>
js/ui/quickSettings.js